import axios from 'axios'

// 登录接口
export const login = (params) => axios.post('/users/login', params)

// 查询接口
export const find = (params) => axios.get('/users/find', { params })

// 注册接口
export const register = (params) => axios.post('/users/register', params)

// 修改接口
export const update_user = (params) => axios.post('/users/update_user', params)

